home *** CD-ROM | disk | FTP | other *** search
- /********************************************
- ; File: StdFile.h
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986, 1987
- ; All Rights Reserved
- ;
- ********************************************/
-
- #ifndef __types__
- #include <types.h>
- #endif
-
- #ifndef __stdfile__
- #define __stdfile__
-
- #define noDisplay 0x0000 /*filterProc result - file not to be displayed */
- #define noSelect 0x0001 /*filterProc result - file displayed, but not selectable */
- #define displaySelect 0x0002 /*filterProc result - file displayed and selectable */
-
- typedef struct SFReplyRec {
- Boolean good; /* SFReplyRec - TRUE for open; FALSE for cancel*/
- Word fileType; /* SFReplyRec - ProDOS file type*/
- Word auxFileType; /* SFReplyRec - ProDOS aux file type*/
- char filename[16]; /* SFReplyRec - Name of file in prefix 0*/
- char fullPathname[129]; /* SFReplyRec - The full pathname of the selected file.*/
- } SFReplyRec, *SFReplyRecPtr ;
-
- extern pascal void SFBootInit() inline(0x0117,dispatcher); /* Standard File */
- extern pascal void SFStartUp() inline(0x0217,dispatcher); /* Standard File */
- extern pascal void SFShutDown() inline(0x0317,dispatcher); /* Standard File */
- extern pascal Word SFVersion() inline(0x0417,dispatcher); /* Standard File */
- extern pascal void SFReset() inline(0x0517,dispatcher); /* Standard File */
- extern pascal Boolean SFStatus() inline(0x0617,dispatcher); /* Standard File */
-
- extern pascal void SFAllCaps() inline(0x0D17,dispatcher); /* Standard File */
- extern pascal void SFGetFile() inline(0x0917,dispatcher); /* Standard File */
- extern pascal void SFPGetFile() inline(0x0B17,dispatcher); /* Standard File */
- extern pascal void SFPPutFile() inline(0x0C17,dispatcher); /* Standard File */
- extern pascal void SFPutFile() inline(0x0A17,dispatcher); /* Standard File */
-
- #endif
-